[INFO] cloning repository https://github.com/heat1q/anyhow-http
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heat1q/anyhow-http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheat1q%2Fanyhow-http", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheat1q%2Fanyhow-http'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6ffb6b3ffc3c347827a901a04dba2820c410e2c3
[INFO] fixing heat1q/anyhow-http against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheat1q%2Fanyhow-http" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/heat1q/anyhow-http
[INFO] finished tweaking git repo https://github.com/heat1q/anyhow-http
[INFO] tweaked toml for git repo https://github.com/heat1q/anyhow-http written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/heat1q/anyhow-http on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 67 packages to latest compatible versions
[INFO] [stderr]       Adding matchit v0.8.4 (available: v0.8.6)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 72fd430a754653acdcdc080f66f83615cd7defa97ff381e02503f72f4e189ea5
[INFO] running `Command { std: "docker" "start" "72fd430a754653acdcdc080f66f83615cd7defa97ff381e02503f72f4e189ea5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "72fd430a754653acdcdc080f66f83615cd7defa97ff381e02503f72f4e189ea5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72fd430a754653acdcdc080f66f83615cd7defa97ff381e02503f72f4e189ea5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "72fd430a754653acdcdc080f66f83615cd7defa97ff381e02503f72f4e189ea5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating anyhow-http/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating anyhow-http-derive/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]     Checking ident_case v1.0.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling bytes v1.12.0
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]    Compiling http v1.4.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]     Checking darling v0.23.0
[INFO] [stderr]    Compiling anyhow-http-derive v0.4.4 (/opt/rustwide/workdir/anyhow-http-derive)
[INFO] [stderr]    Migrating anyhow-http-derive/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed anyhow-http-derive/src/http_error.rs (1 fix)
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking anyhow-http v0.4.4 (/opt/rustwide/workdir/anyhow-http)
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Migrating anyhow-http/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]        Fixed anyhow-http/src/macros.rs (2 fixes)
[INFO] [stderr]    Migrating anyhow-http-derive/tests/derive_http_error.rs from 2021 edition to 2024
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.11s
[INFO] [stderr] crater-edition-check: anyhow-http v0.4.4 (/opt/rustwide/workdir/anyhow-http) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: anyhow-http-derive v0.4.4 (/opt/rustwide/workdir/anyhow-http-derive) updating edition from 2021 to 2024
[INFO] [stderr]     Checking anyhow-http v0.4.4 (/opt/rustwide/workdir/anyhow-http)
[INFO] [stderr]    Compiling anyhow-http-derive v0.4.4 (/opt/rustwide/workdir/anyhow-http-derive)
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> anyhow-http/src/response.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http_error`
[INFO] [stdout]    --> anyhow-http/src/response.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     use crate::http_error;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::StatusCode`
[INFO] [stdout]    --> anyhow-http/src/response.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     use http::StatusCode;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]  --> anyhow-http-derive/tests/derive_http_error.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, FromHttpError)]
[INFO] [stdout]   |                 ^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]  --> anyhow-http-derive/tests/derive_http_error.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |   enum CustomError {
[INFO] [stdout]   |  ______^
[INFO] [stdout] 8 | |     #[http_error(status(400), reason("reason {0}"))]
[INFO] [stdout] 9 | |     From(#[from] anyhow::Error),
[INFO] [stdout]   | |_______________________________^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout]   = note: this error originates in the derive macro `FromHttpError` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on these references with reference patterns to avoid implicitly borrowing
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum &&CustomError {
[INFO] [stdout]   |      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> anyhow-http-derive/tests/derive_http_error.rs:6:17
[INFO] [stdout]    |
[INFO] [stdout]  6 | #[derive(Debug, FromHttpError)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 occurs within macro expansion
[INFO] [stdout]    |                 occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]   --> anyhow-http-derive/tests/derive_http_error.rs:7:6
[INFO] [stdout]    |
[INFO] [stdout]  7 |   enum CustomError {
[INFO] [stdout]    |  ______^
[INFO] [stdout]  8 | |     #[http_error(status(400), reason("reason {0}"))]
[INFO] [stdout]  9 | |     From(#[from] anyhow::Error),
[INFO] [stdout] 10 | |     #[http_error(status(400), reason("reason {count}"))]
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | |         source: anyhow::Error,
[INFO] [stdout] 15 | |     },
[INFO] [stdout]    | |_____^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout]    = note: this error originates in the derive macro `FromHttpError` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on these references with reference patterns to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum &&CustomError {
[INFO] [stdout]    |      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> anyhow-http-derive/tests/derive_http_error.rs:6:17
[INFO] [stdout]    |
[INFO] [stdout]  6 | #[derive(Debug, FromHttpError)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 occurs within macro expansion
[INFO] [stdout]    |                 occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]   --> anyhow-http-derive/tests/derive_http_error.rs:7:6
[INFO] [stdout]    |
[INFO] [stdout]  7 |   enum CustomError {
[INFO] [stdout]    |  ______^
[INFO] [stdout]  8 | |     #[http_error(status(400), reason("reason {0}"))]
[INFO] [stdout]  9 | |     From(#[from] anyhow::Error),
[INFO] [stdout] 10 | |     #[http_error(status(400), reason("reason {count}"))]
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | |     )]
[INFO] [stdout] 21 | |     UnamedWithSource(u64, #[source] anyhow::Error),
[INFO] [stdout]    | |__________________________________________________^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout]    = note: this error originates in the derive macro `FromHttpError` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on these references with reference patterns to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum &&CustomError {
[INFO] [stdout]    |      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> anyhow-http-derive/tests/derive_http_error.rs:6:17
[INFO] [stdout]    |
[INFO] [stdout]  6 | #[derive(Debug, FromHttpError)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]   --> anyhow-http-derive/tests/derive_http_error.rs:7:6
[INFO] [stdout]    |
[INFO] [stdout]  7 |   enum CustomError {
[INFO] [stdout]    |  ______^
[INFO] [stdout]  8 | |     #[http_error(status(400), reason("reason {0}"))]
[INFO] [stdout]  9 | |     From(#[from] anyhow::Error),
[INFO] [stdout] 10 | |     #[http_error(status(400), reason("reason {count}"))]
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |     #[http_error(transparent)]
[INFO] [stdout] 23 | |     Transparent(#[source] anyhow::Error),
[INFO] [stdout]    | |________________________________________^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout]    = note: this error originates in the derive macro `FromHttpError` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on these references with reference patterns to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum &&CustomError {
[INFO] [stdout]    |      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> anyhow-http-derive/tests/derive_http_error.rs:6:17
[INFO] [stdout]    |
[INFO] [stdout]  6 | #[derive(Debug, FromHttpError)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]   --> anyhow-http-derive/tests/derive_http_error.rs:7:6
[INFO] [stdout]    |
[INFO] [stdout]  7 |   enum CustomError {
[INFO] [stdout]    |  ______^
[INFO] [stdout]  8 | |     #[http_error(status(400), reason("reason {0}"))]
[INFO] [stdout]  9 | |     From(#[from] anyhow::Error),
[INFO] [stdout] 10 | |     #[http_error(status(400), reason("reason {count}"))]
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |     #[http_error(status(404), reason("reason {0}"), data({DATA_KEY} = ErrorCode::Invalid as u32))]
[INFO] [stdout] 25 | |     ExprData(String),
[INFO] [stdout]    | |____________________^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout]    = note: this error originates in the derive macro `FromHttpError` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on these references with reference patterns to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum &&CustomError {
[INFO] [stdout]    |      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `anyhow-http-derive` (test "derive_http_error") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "72fd430a754653acdcdc080f66f83615cd7defa97ff381e02503f72f4e189ea5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72fd430a754653acdcdc080f66f83615cd7defa97ff381e02503f72f4e189ea5", kill_on_drop: false }`
[INFO] [stdout] 72fd430a754653acdcdc080f66f83615cd7defa97ff381e02503f72f4e189ea5
